gtk-demo: Use primary-toolbar style in the application example
authorMatthias Clasen <mclasen@redhat.com>
Mon, 13 Jan 2014 01:12:31 +0000 (20:12 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 13 Jan 2014 03:25:19 +0000 (22:25 -0500)
Adwaita correctly restricts window-dragging to primary toolbars,
Mark our toolbar as primary to test this.

demos/gtk-demo/application.ui

index a0801f5de0552655c2872fbe3f97cc7c5acf1345..68757a94cdfe3b51d7f8ccc742be8e816ee9a5a7 100644 (file)
@@ -6,6 +6,9 @@
         <property name="orientation">horizontal</property>
         <property name="halign">fill</property>
         <property name="hexpand">True</property>
+        <style>
+          <class name="primary-toolbar"/>
+        </style>
         <child>
           <object class="GtkMenuToolButton" id="menutool">
             <property name="icon-name">document-open</property>